import 'package:dio/dio.dart';

class ScoreAPI {
  final Dio _dio;

  ScoreAPI(this._dio);

  // 获取积分列表
  Future<dynamic> list() async {
    Response res = await _dio.get('/integral/list');

    return res.data;
  }
}